/**
 * 模块：医院入驻平台-UserLoginLog
 */
package design.onekey.controller;


import design.onekey.base.BaseEntity;
import design.onekey.base.Response;
import design.onekey.model.UserLoginLog;
import design.onekey.service.IUserLoginLogService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: UserLoginLogcontroller类
 * @author
 * @date 2020-08-17 10:05:00
 * @version V1.0
 */
@RestController
@RequestMapping("/api/userLoginLog")
public class UserLoginLogController extends BaseController {

	/**
	 * iUserLoginLogService服务注入
	 */
	@Autowired
	private IUserLoginLogService iUserLoginLogService;

	/**
	 * @Description: 分页查询表格
	 * @param UserLoginLog
	 * @param @return
	 * @return BaseEntity
	 * @throws
	 */
	@ApiOperation(value="UserLoginLog-获取表格数据", notes="获取表格数据")
	@RequestMapping(value = "/getTableList",method = RequestMethod.POST)
//	@MethodLog(module="UserLoginLog",remark="获取页面表格数据",operateType=Constants.OPERATE_TYPE_SEARCH)
	public Response getTableList(@RequestBody UserLoginLog model)
	{

		BaseEntity result = new BaseEntity();
		result = iUserLoginLogService.tablePagingQuery(model);
		return Response.success(result);
	}
}
